package 第十五章_枚举;

import org.junit.Test;

import java.util.Arrays;

public class colorrun {
    static final int Red=0x1;
    static final int Green=0x2;
    static final int blue=0x3;
    public Color color;
    @Test
    public void test(){
        Color red = color.Red;
        System.out.println("red: " +red.ordinal());
    }
}
